import request from '@/utils/request'

export function purchaseList(query) {
  return request({
    url: '/purchase/purchase/list',
    method: 'get',
    params: query
  })
}

export function updatePurchaseStatus(id) {
  return request({
    url: '/purchase/purchase/update/'+id,
    method: 'put'
  })
}
